﻿@model Article
@{
    Layout = null;
    Sysconfig config = ViewData["config"] as Sysconfig;
    string category_title = ViewBag.category_title as string;
}
<!DOCTYPE html>
<!--HTML5 doctype-->
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <title>@Model.title</title>
    <meta name="keywords" content="@Model.seo_keywords" />
    <meta name="description" content="@Model.seo_description" />
    <link rel="stylesheet" type="text/css" href="/mobile/css/style.css" />
    <script type="text/javascript" charset="utf-8" src="/mobile/js/zepto.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="/mobile/js/weui.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="/mobile/js/common.js"></script>
</head>

<body ontouchstart>
    <div class="page">
        <!--页面头部-->
        <div class="header">
            <a class="back" href="javascript:history.back();">
                <i class="iconfont icon-arrow-left"></i>
            </a>
            <h3>@category_title</h3>
            <div class="right">
                <a class="weui-cell_access weui-cell_link" asp-area="Web" asp-controller="Index" asp-action="Index">
                    <i class="iconfont icon-home"></i>
                </a>
            </div>
        </div>
        <!--/页面头部-->
        <!--页面内容-->
        <div class="page__bd">
            <!--内容介绍-->
            <div class="weui-panel weui-panel_access" style="margin-top:10px;">
                <div class="weui-panel__bd">
                    <div class="meta">
                        <h1 class="meta-tit">@Model.title</h1>
                        <p class="meta-info">
                            <span><i class="iconfont icon-date"></i>@Model.add_time</span>
                            <span>
                                <i class="iconfont icon-view"></i>
                                <script type="text/javascript" src="/submit_ajax?action=view_article_click&channel_id=@Model.channel_id&id=@Model.id&click=1"></script>次浏览
                            </span>
                        </p>
                    </div>
                    <div class="entry">
                        @Html.Raw(Model.content)
                    </div>
                </div>
            </div>
            <!--/内容介绍-->
            <!--版权信息-->
            @await Html.PartialAsync("~/Areas/Web/Views/Shared/_Copyright.cshtml")
            <!--/版权信息-->
            <!--底部导航-->
            @await Html.PartialAsync("~/Areas/Web/Views/Shared/_Footer.cshtml")
            <!--/底部导航-->

        </div>
        <!--/页面内容-->

    </div>
</body>
</html>
